<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/XGame_template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>XGame</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->

<!-- InstanceEndEditable -->
<link type="text/css" rel="stylesheet" href="CSS/css.css" />
</head>

<body>
<div id="container">

<div id="wrapper">

<div id="banner">
<!-- InstanceBeginEditable name="TopLink" -->
<?php
include('config.php');
session_start();
if(!empty($_SESSION['login_user'])){
	$login = $_SESSION['login_user'];
	$q = "SELECT user_name FROM user where user_ID = '$login'";
	$result=mysql_query($q);
	$data_fetch=mysql_fetch_array($result);
?>
<ul class="topLink">
<li> Welcome, <a href="UserProfile.php"> <?php echo $data_fetch['user_name']; ?> </a> </li>
<li> <a href="Wishlist.php"> Wishlist </a> &nbsp; | &nbsp;<a href="userShoppingCart.php"> Cart </a> </li>
<li> <a href="Logout.php"> Logout </a> </li>
</ul>
<?php
	}
	else{
?>
<div class="welcome">
<p style="float:right; padding-right:10px"> Welcome: &nbsp; (
<a href="Register.php"> LOGIN</a> |
<a href="Register.php"> REGISTER </a>) </p>
</div>
<?php
	}
?>
<!-- InstanceEndEditable -->
<img src="Assets/XGame.png" alt="XGame" />
</div>

<div id="menu">
<ul class="nav">
<form method="post" action="search_result.php">
<li> <span> <input type="text" placeholder="Search Keyword" name="search" />
&nbsp; <input type="submit" name="Search" value="Search" /> </span>
</li>
</form>
<li> <a href="Home.php"> Home </a> </li>
<li> <a href="ListOfNews.php"> News </a> </li>
<li> <a href="Games.php"> Games </a> </li>
<li> <a href="FAQ.php"> FAQ </a> </li>
<li> <a href="ContactUs.php"> Contact Us </a> </li>
</ul>

</div>

<div id="main">
<!-- InstanceBeginEditable name="Main" -->
<table border="0" width="750px" class="table">
<tr align="center">
<th class="tableHeader"> Store </th>
<th class="tableHeader"> Address </th>
<th class="tableHeader"> Contact Person </th>
<th class="tableHeader"> Business Hour </th>
</tr>
<tr>
<td class="tableContent" valign="top"> <img src="Assets/Store-front-03-10-2011-003.png" alt="XGame-Toa Payoh" width="200" height="175" /> </td>
<td class="tableContent" valign="top"> Toa Payoh Lorong 3 <br />
Singapore 728390 </td>
<td class="tableContent" valign="top"> Contact person: Anthony Chew Yap Teng <br />
Tel: +65 62304294 <br />
Fax: 2304 5043 <br />
Email: chewyapteng@hotmail.com </td>
<td class="tableContent" valign="top" align="center">10am - 08pm</td>
</tr>
<tr>
<td class="tableContent" valign="top"> <img src="Assets/bordersbooks.png" alt="XGame-Ang Mo Kio" width="200" height="175" /> </td>
<td class="tableContent" valign="top"> Ang Mo Kio Avenue 1 <br />
Singapore 347298 </td>
<td class="tableContent" valign="top"> Contact person: Lawrence Teo <br />
Tel: +65 61239802 <br />
Fax: 2309 5403 <br />
Email: Lawrenceteo@yahoo.com </td>
<td class="tableContent" valign="top" align="center"> 8am - 9pm</td>
</tr>
<tr>
<td class="tableContent" valign="top"> <img src="Assets/Eye_Masters_Store_Front.png" alt="XGame-Yishun" width="200" height="175" /> </td>
<td class="tableContent" valign="top"> Yishun Avenue 4 <br />
Singapore 230945 </td>
<td class="tableContent" valign="top"> Contact person: James Hun <br />
Tel: +65 63598290 <br />
Fax:  5773 9883<br />
Email: Jameshun@gmail.com </td>
<td class="tableContent" valign="top" align="center"> 9am - 5pm</td>
</tr>
<tr>
<td class="tableContent" valign="top"> <img src="Assets/Bobs_Stores_Storefront.png" alt="XGame-Clementi" width="200" height="175" /> </td>
<td class="tableContent" valign="top"> Clementi Avenue 5 <br />
Singapore 100923 </td>
<td class="tableContent" valign="top"> Contact person: Mary Lam <br />
Tel: +65 62383920 <br />
Fax: 4329 8472 <br />
Email: Marylam@gmail.com </td>
<td class="tableContent" valign="top" align="center"> 24 hours</td>
</tr>
</table>
<!-- InstanceEndEditable -->
</div>

<div id="footer">
<p align="center"> &copy; &nbsp; 2012 XGame </p>
</div>

</div>

</div>

</body>
<!-- InstanceEnd --></html>
